home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fatted Calf
/
The Fatted Calf.iso
/
Applications
/
Compression
/
Opener
/
Opener.app
/
Submit
< prev
next >
Wrap
Text File
|
1993-07-15
|
882b
|
31 lines
#! /bin/csh -f
if (-e $1/README) then
cp $1/README /tmp/$1.README
else
echo That failed\! You MUST create $1/README\!
exit
endif
tar cf - $1 | compress > /tmp/$1.tar.Z
if (-e ~/Apps/submit) then
set s = ~/Apps/submit
else if (-e /LocalApps/submit) then
set s = ~/LocalApps/submit
else if (-e ~/Apps/Opener.app/submit) then
set s = ~/Apps/Opener.app/submit
else if (-e /LocalApps/Opener.app/submit) then
set s = /LocalApps/Opener.app/submit
endif
cd /tmp
set t = submission$$
echo "Here is the transcript of the ftp job." > $t
echo "=========================" >> $t
$s $1.README $1.tar.Z >> $t
echo "=========================" >> $t
echo "Here is your README file:" >> $t
cat $1.README >> $t
cat $t | open
echo "$1 has been submitted to the NeXT archives. If the transcript looks okay, it should be safe to send the message."
rm $t $1.README $1.tar.Z